package com.yuntai.pms.model.entity;

import java.io.Serializable;
import java.util.Date;
import com.alibaba.fastjson.JSON;

/**
 * @ClassName: AipInterfaceType
 * @Description: 接口分类表
 * @author 王勇琳
 * @date 2017年7月20日 下午1:53:36
 */
public class AipInterfaceType implements Serializable {
	private static final long serialVersionUID = -2819544925293739381L;

	/** 主键id */
	private Long id;
	
	/** 接口分类的名称 */
	private String name;
	
	/** 接口分类的描述 */
	private String description;
	
	/** 创建时间 */
	private Date createTime;
	
	/** 最后更新时间 */
	private Date updateTime;
	
	/** 状态：有效(enabled)、无效(disabled)，默认为：'enabled' */
	private String status;
	
	public AipInterfaceType(){
		
	}
	
	public AipInterfaceType(Long id, String name, String description, Date createTime, Date updateTime, String status) {
		this.id = id;
		this.name = name;
		this.description = description;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.status = status;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
	
}
